/**
 * create by young (young2f@outlook.com) on 2023/4/16
 */
'use strict';
module.exports = app => {
    const {router, controller} = app;
    router.post('/api/experiment/store/create', controller.experiment.createStore);
    router.post('/api/experiment/store/update', controller.experiment.updateStore);
    router.post('/api/experiment/store/delete', controller.experiment.deleteStore);
    router.post('/api/experiment/store/find/many', controller.experiment.findStoreMany);

    router.post('/api/experiment/record/create', controller.experiment.createRecord);
    router.post('/api/experiment/record/find/many', controller.experiment.findRecordMany);
    router.post('/api/experiment/record/delete', controller.experiment.deleteRecord);
    router.post('/api/experiment/record/update', controller.experiment.updateRecord);
};
